package com.ruoyi.pv.domain;

import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.*;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 节假日对象 pv_holiday
 *
 * @author zzx
 * @date 2023-07-11
 */
@AllArgsConstructor
@NoArgsConstructor
@Data
@Builder
@ToString
public class PvHoliday extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    private Integer id;

    /**
     * 年份
     */
    @Excel(name = "年份")
    private Integer year;

    /**
     * 日期
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date date;

    /**
     * 日期字符串
     */
    @Excel(name = "日期字符串")
    private String dateStr;

    /**
     * 描述
     */
    @Excel(name = "描述")
    private String info;

}
